
export const statusList = [
  { id: '', name: '全部', type: 'warning' },
  { id: '1', name: '未处理', type: 'warning' },
  { id: '2', name: '初访', type: 'primary' },
  { id: '3', name: '已邀约', type: 'success' },
  { id: '4', name: '已到访', type: 'success' },
  { id: '5', name: '不感兴趣', type: 'info' },
  { id: '6', name: '未接通', type: 'danger' },
  { id: '7', name: '地域不服', type: 'info' },
  { id: '8', name: '孩子超龄', type: 'info' },
  { id: '9', name: '无效的联系方式', type: 'info' }
]

export const seachConfig = () => {
  return [
    {
      key: 'queryKey',
      label: '查询字段',
      type: 'select',
      fieldProps: {
        options: [
          { id: 'name', name: '客户姓名' },
          { id: 'childName', name: '孩子姓名' },
          { id: 'mobile', name: '客户电话' },
          { id: 'monthAge', name: '月龄' }
        ],
        style: {
          width: '156px'
        }
      }
    },
    {
      key: 'queryVal',
      label: '查询内容',
      fieldProps: {
        style: {
          width: '156px'
        }
      }
    }
  ]
}

export const column = [
  {
    prop: 'childName',
    label: '孩子姓名'
  },
  {
    prop: 'birthday',
    label: '出生年月'
  },
  {
    prop: 'month',
    label: '月龄'
  },
  {
    prop: 'name',
    label: '家长姓名'
  },
  {
    prop: 'mobile',
    label: '电话'
  },
  {
    prop: 'status',
    label: '跟进状态'
  },
  {
    prop: 'lastFollowRecord',
    label: '最新跟进记录'
  },
  {
    prop: 'action',
    label: '操作'
  }
]
